package com.doit.day01

import scala.util.Random

object _07_类型转换 {
  def main(args: Array[String]): Unit = {

    val a: Int = 10
    val b: Double = 10.8
    //做运算得时候，会自动类型提升
    val degrees: Int = (a + b).toInt




  }
}
